package com.relax.controller;


import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class AssetVulEvent {
    private Integer num;

    private Integer taskId;
    private String taskName;
    private String reportUrl;
    private String source;
    private List<VulListDTO> vulList;

    @NoArgsConstructor
    @Data
    public static class VulListDTO {
        private Integer vulType;
        private String vulName;
        private Long vulId;
        private String ip;
        private String assetName;
        private Long assetId;
        private Integer vulLevel;
        //CNNVD
        private String vulCnnvd;
        //CNCVE
        private String vulCncve;
        //描述
        private String description; //
        //修复建议
        private String solution;
        private String ext1;
        //漏洞所属组
        private String vulGroup;
        //CVSS评分
        private String cvss;
    }


}
